package ysq.xyg.base.extend.ehcache;

import ysq.xyg.recovery.model.po.RecoveryLargeCat;
import ysq.xyg.recovery.model.po.RecoveryMiddleCat;
import ysq.xyg.recovery.model.po.RecoverySmallCat;
import ysq.xyg.shop.model.po.ShopBanner;
import ysq.xyg.shop.model.po.ShopItemCat;

import java.util.List;
import java.util.Map;

/**
 * 缓存
 *
 * @author taocongcong
 * @create 2019-04-11 17:19
 */
public interface EhCacheService {

    List<RecoveryLargeCat> selectRecoveryLargeCatList();

    Map<String, List<RecoveryMiddleCat>> selectRecoveryMiddleCatList();

    Map<String, List<RecoveryMiddleCat>> cacheOnlyRecoveryMiddleCat();

    Map<String, List<RecoverySmallCat>> selectRecoverySmallCatList();

    void evictRecoveryCat();

    List<ShopItemCat> selectShopItemCatList();

    void evictShopItemCat();

    List<ShopBanner> selectShopBannerList();

    void evictShopBanner();
}
